package cn.kgc.client;

import cn.kgc.base.entity.CartSkuInfo;
import cn.kgc.commons.vo.Result;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>从商品模块中获得商品信息</p>
 *
 * @author 卢传琪
 */
@FeignClient(name = "mall-pms",path = "/pms/SkuInfo",fallback = CartSkuInfoFeignClientImpl.class)
public interface CartSkuInfoFeignClient {
    @GetMapping("/getCart")
    Result<CartSkuInfo> getCartSkuInfo(@RequestParam(name = "skuId") Long skuId) ;
 }
